// ==UserScript==
// @name         remove watermark
// @namespace    undefined
// @version      0.0.1
// @description  remove watermark
// @author       Svend
// @match        https://*.gaoding.com/*
// @require      https://code.jquery.com/jquery-latest.js
// @run-at       document-start
// @grant        unsafeWindow
// @grant        GM_setClipboard
// ==/UserScript==
$(document).ready(function() {
  removeWatermarkBtn();
});


function removeWatermarkBtn() {
    var btn = $('<div>RWM</div>')
    btn.css({
        position: 'fixed',
        bottom: '10px',
        right: '10px',
        'background-color': '#fff',
        padding: '3px 5px',
        'z-index': 30000,
        'box-shadow': '0 0 10px 3px rgba(0,0,0,.3)',
        cursor: 'pointer',
        'font-size': '12px'
    })
    btn.on('click', removeWatermark)
    $(document.body).append(btn)
}

function removeWatermark() {
    $('.editor-watermark').remove()
}
